A Set of GMRES
نویسندگان
چکیده
In this report we describe the implementations of the GMRES algorithm for both real and complex, single and double precision arithmetics suitable for serial, shared memory and distributed memory computers. For the sake of simplicity, exibility and eeciency the GMRES solvers have been implemented using the reverse communication mechanism for the matrix-vector product, the preconditioning and the dot product computations. For distributed memory computation several orthogonalization procedures have been implemented to reduce the cost of the dot product calculation, that is a well-known bottleneck of eeciency for the Krylov methods. Finally the implemented stopping criterion is based on a normwise backward error. After a short presentation of the GMRES methods and of the solution of the least-squares problems in real and complex arithmetic, we give a detailed description of the user interface. 1 The GMRES algorithm 1.1 General description The Generalized Minimum RESidual (GMRES) method was proposed by Saad and Schultz in 1986 6] in order to solver large, sparse and nonsymmetric (or non Hermitian) linear systems. GMRES belongs to the class of Krylov based iterative methods. Let A be a square nonsingular n n complex matrix, and b be a complex vector of length n, deening the linear system Ax = b (1) to be solved. Let x 0 2 C n be an initial guess for this linear system and r 0 = b ? Ax 0 be its corresponding residual. The GMRES algorithm builds an approximation of the solution of (1) under the form x m = x 0 + V m y (2)
منابع مشابه
Theoretical results on the global GMRES method for solving generalized Sylvester matrix equations
The global generalized minimum residual (Gl-GMRES) method is examined for solving the generalized Sylvester matrix equation [sumlimits_{i = 1}^q {A_i } XB_i = C.] Some new theoretical results are elaborated for the proposed method by employing the Schur complement. These results can be exploited to establish new convergence properties of the Gl-GMRES method for solving genera...
متن کاملConvergence analysis of the global FOM and GMRES methods for solving matrix equations $AXB=C$ with SPD coefficients
In this paper, we study convergence behavior of the global FOM (Gl-FOM) and global GMRES (Gl-GMRES) methods for solving the matrix equation $AXB=C$ where $A$ and $B$ are symmetric positive definite (SPD). We present some new theoretical results of these methods such as computable exact expressions and upper bounds for the norm of the error and residual. In particular, the obtained upper...
متن کاملPreconditioned Generalized Minimal Residual Method for Solving Fractional Advection-Diffusion Equation
Introduction Fractional differential equations (FDEs) have attracted much attention and have been widely used in the fields of finance, physics, image processing, and biology, etc. It is not always possible to find an analytical solution for such equations. The approximate solution or numerical scheme may be a good approach, particularly, the schemes in numerical linear algebra for solving ...
متن کاملWorst-case and ideal GMRES for a Jordan block ⋆
We investigate the convergence of GMRES for an n by n Jordan block J . For each k that divides n we derive the exact form of the kth ideal GMRES polynomial and prove the equality max ‖v‖=1 min p∈πk ‖p(J)v‖ = min p∈πk max ‖v‖=1 ‖p(J)v‖, where πk denotes the set of polynomials of degree at most k and with value one at the origin, and ‖ · ‖ denotes the Euclidean norm. In other words, we show that ...
متن کاملA note on relaxed and flexible GMRES
We consider the solution of a linear system of equations using the GMRES iterative method. In [3], a strategy to relax the accuracy of the matrix-vector product is proposed for general systems and illustrated on a large set of numerical experiments. This work is based on some heuristic considerations and proposes a strategy that often enables a convergence of the GMRES iterates xk within a rela...
متن کاملA proportional-derivative control strategy for varying the restart parameter in GMRES(m)
The Generalized Minimal Residual (GMRES) method is one of the most popular algorithms for the solution of large, sparse and unsymmetric linear systems of equations Ax = b [6]. The idea behind the GMRES is to construct an orthogonal matrix Vk such that its k columns span a Krylov subspace. The time and memory costs of computing Vk are proportional to k, so that, as k grows, the computational cos...
متن کامل